[NTG-context] barring changes

2022-07-28 Thread Henning Hraban Ramm via ntg-context
\underrandom doesn’t work \underrandoms doesn’t work \overbar works, but not in TABLE \overbars works \overstrike works, but not in TABLE \overstrikes works \understrike works, but not in TABLE \understrikes works The nested example \overbar{Über} \underbar{Unterstrich \underbar{steigt

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.06.2020 um 16:30: Am 03.06.2020 um 16:19 schrieb Floris van Manen : What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm
> Am 04.06.2020 um 20:00 schrieb Floris van Manen : > >> \setupbar[color=red,rulethickness=1.4] % measurement in pt > > the command also takes a parameter offset as well as dy. > I assume the offset will position the line higher / lower . > But I see no effect. > >

Re: [NTG-context] [overstrike] with different color?

2020-06-04 Thread Floris van Manen
On 03/06/2020 16:30, Henning Hraban Ramm wrote: > \setupbar[color=red,rulethickness=1.4] % measurement in pt the command also takes a parameter offset as well as dy. I assume the offset will position the line higher / lower . But I see no effect.

Re: [NTG-context] [overstrike] with different color?

2020-06-03 Thread Henning Hraban Ramm
> Am 03.06.2020 um 16:19 schrieb Floris van Manen : > > What is the preferred way to overstrike a text with a different color? > This does not work: > One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt See also rules-m

[NTG-context] [overstrike] with different color?

2020-06-03 Thread Floris van Manen
What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three .F pEpkey.asc Description: application/pgp-keys ___ If your question is of interest

Re: [NTG-context] maths simplifying fractions

2019-11-13 Thread Henri Menke
On 11/14/19 12:28 AM, Martin Althoff wrote: > Hi all, I am writing some maths exercises that include simplifying fractions. > For that > reason I would like to cross out some numbers. Unfortunately overstrike > doesn't do the > trick, eg with a 4 the overstrike is practi

[NTG-context] maths simplifying fractions

2019-11-13 Thread Martin Althoff
Hi all, I am writing some maths exercises that include simplifying fractions. For that reason I would like to cross out some numbers. Unfortunately overstrike doesn't do the trick, eg with a 4 the overstrike is practically invisible. Is there any way to get a diagonal stroke like the latex

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
at the code, there was another question on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Aditya Mahajan
on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox{.}\hfill world! % Works OK, nothing special

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel
. The \setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). \setupmarginrules[rulethickness=1pt] \setupmarginrules[1][rulecolor=red] \setupbar[overstrike][color=red] \define[1]\RR {\startmarginrule[1]\RRR#1\stopmarginrule} \definehighlight [RRR

Re: [NTG-context] \underbar problem

2013-09-06 Thread Hans Hagen
,hz] \starttext \underbar{\dorecurse{5}{\input knuth}} \stoptext Note from the wiki (http://wiki.contextgarden.net/Command/overstrike): If you are using microtypography with |\setupalign[hz,hanging]|, then with some fonts the rule may end up off-target, above the characters instead

Re: [NTG-context] \underbar problem

2013-09-06 Thread Alan Bowen
{\dorecurse{5}{\input knuth}} \stoptext Note from the wiki (http://wiki.contextgarden.net/Command/overstrike): If you are using microtypography with \setupalign[hz,hanging], then with some fonts the rule may end up off-target, above the characters instead of through them. (The problem

Re: [NTG-context] \definehighlight with style=command problem

2013-05-28 Thread Alan Bowen
: I an trying to use \definehighlight to define a macro that will color and overstrike selected text. Thus far, \definehighlight[Delete][color=red,style={\overstrike}] \starttext test \Delete{test} test \stoptext reports ! Too many }'s. system tex error on line 4 in file

[NTG-context] \definehighlight with style=command problem

2013-05-27 Thread Alan Bowen
I an trying to use \definehighlight to define a macro that will color and overstrike selected text. Thus far, \definehighlight[Delete][color=red,style={\overstrike}] \starttext test \Delete{test} test \stoptext reports ! Too many }'s. system tex error on line 4 in file ...TEST.tex

Re: [NTG-context] \definehighlight with style=command problem

2013-05-27 Thread Alan Bowen
Wonderful, Hans! Many thanks. Alan On Mon, May 27, 2013 at 1:14 PM, Hans Hagen pra...@wxs.nl wrote: On 5/27/2013 3:36 PM, Alan Bowen wrote: I an trying to use \definehighlight to define a macro that will color and overstrike selected text. Thus far, \definehighlight[Delete][**color=red

Re: [NTG-context] \definehighlight with style=command problem

2013-05-27 Thread Wolfgang Schuster
Am 27.05.2013 um 15:36 schrieb Alan Bowen bowenala...@gmail.com: I an trying to use \definehighlight to define a macro that will color and overstrike selected text. Thus far, \definehighlight[Delete][color=red,style={\overstrike}] \starttext test \Delete{test} test \stoptext

[NTG-context] microtype + \overstrike + libertine problem

2010-11-22 Thread Marco Pessotto
Hello there. I'm experience the following problem: with microtypography \overstrike plays weird. See the following minimal. I can't reproduce it with the latin modern fonts, so maybe it's a font specific issue. I've found a workaround and documented it on the wiki (just in case) http

Re: [NTG-context] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan
] [\c!style=\v!mono,\c!color=] \definevimsyntax [Error] [\c!style=\v!mono,\c!color=,\c!command=\overstrike] \definevimsyntax [Todo] [\c!style=\v!mono,\c!command=\inframed] \stopvimcolorscheme % }}} \protect \stopmodule %D An example usage: % {{{ \doifnotmode{demo}{\endinput

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
# \NR \numbers{text} \overbar{text} \overbars{text text} # \overlaybutton # \overlayfigure \overstrike{text} \overstrikes{text text} \packed \page[options] \pagereference[reference] \pagetype[name] \paragraph \part[references]{text} \periods[number] \placebookmarks[names][names|all

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-12 Thread Hans Hagen
, as well as \underbars, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring an argument

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-12 Thread Michael Wigston
with \underbar, as well as \underbars, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-11 Thread Michael Wigston
, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring an argument, but this works as a \defineXMLgrouped

[NTG-context] Problems mapping Xml into ConTeXt

2006-10-10 Thread Michael Wigston
problems implementing the following commands: - \underbar, \underbars, \overstrike, \overstrikes, \low, \high and \lohi I was expecting that they would all easily be defined using the \defineXMLgrouped [name] {command} element mapping. There is probably something very simple that I have